//
//  SRHomeFeatureCollectionViewCell.m
//  StoryShow
//
//  Created by CyonLeuMBP on 2017/9/4.
//  Copyright © 2017年 qudiandu.cn. All rights reserved.
//

#import "SRHomeFeatureCollectionViewCell.h"
#import "FZHomeCourseModel.h"

@implementation SRHomeFeatureCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    FZStyleSheet *css = [FZStyleSheet currentStyleSheet];
    self.titleLabel.textColor = css.color_6;
    self.titleLabel.font = [UIFont systemFontOfSize:20];

    
    
}

- (void)updateCellInfo:(id)data {
    [super updateCellInfo:data];
    
    FZHomeCourseModel *model = data;
    self.titleLabel.text = model.title;
    self.iconImageView.image = [UIImage imageNamed:model.pic];
    
}

@end
